/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: GodK
 * Date: 2024-04-09
 * Time: 15:55
 */
public class Test {
    public static void main(String[] args) {
        TestBinaryTree testBinaryTree = new TestBinaryTree();
        //TestBinaryTree.TreeNode root = testBinaryTree.createTree();
        TestBinaryTree.TreeNode root =  testBinaryTree.createBinaryTree();
        testBinaryTree.preOrder(root);
        System.out.println();
        testBinaryTree.levelOrder(root);
        System.out.println();
        System.out.println(testBinaryTree.isCompleteTree(root));
    }
}
